/*
 * @Author: wangtianyu wangtianyu@lierda.com
 * @Date: 2023-06-07 14:22:07
 * @LastEditors: wangtianyu wangtianyu@lierda.com
 * @LastEditTime: 2023-11-06 11:22:54
 * @FilePath: \kake_mcu_tool\Library\KK_gui\kkgui_app.h
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
#ifndef __KKGUI_APP_H__
#define __KKGUI_APP_H__

#include "kkgui_menu.h"

#include "kkgui_cfg.h"

/* =============================== */
/* define */

#define     UI_KEY_LEFT_ID			0
#define     UI_KEY_RIGHT_ID			1
#define     UI_KEY_ENTER_ID     2
#define     UI_KEY_BACK_ID 			3


#define CH1_Pin GPIO_PIN_9
#define CH1_GPIO_Port GPIOB
#define CH2_Pin GPIO_PIN_8
#define CH2_GPIO_Port GPIOB
#define CH3_Pin GPIO_PIN_2
#define CH3_GPIO_Port GPIOA
#define CH4_Pin GPIO_PIN_3
#define CH4_GPIO_Port GPIOA
#define CH5_Pin GPIO_PIN_0
#define CH5_GPIO_Port GPIOB
#define CH6_Pin GPIO_PIN_1
#define CH6_GPIO_Port GPIOB
#define CH7_Pin GPIO_PIN_9
#define CH7_GPIO_Port GPIOA
#define CH8_Pin GPIO_PIN_10
#define CH8_GPIO_Port GPIOA
/* =============================== */
/* typedef */



/* =============================== */
/* variable statement*/

void home_func(kkui_menu_event_e event, char* tab_name, void* param);

/* =============================== */
/* function statement*/


#endif

